c212bf24dfff2b13444672b63ee1b10aa820e54c,osgi/service/src/main/java/org/jboss/as/osgi/deployment/FrameworkActivateProcessor.java,FrameworkActivateProcessor,deploy,#DeploymentPhaseContext#,56

Before Change



        // Not a bundle deployment - do nothing
        DeploymentUnit depUnit = phaseContext.getDeploymentUnit();
        if (depUnit.hasAttachment(OSGiConstants.DEPLOYMENT_KEY)) {

            // Install the {@link FrameworkActivationService} if not done so already
            if (FrameworkActivationService.activated() == false) {

After Change



        // Check whether this is an OSGi deployment or whether it wants to have an OSGi type injected
        DeploymentUnit depUnit = phaseContext.getDeploymentUnit();
        if (!depUnit.hasAttachment(OSGiConstants.DEPLOYMENT_KEY) && !hasValidInjectionPoint(depUnit))
            return;

        // Install the {@link FrameworkActivationService} if not done so already